package com.zhaiyx.mcp.server.computer.service;

import com.alibaba.fastjson.JSON;
import com.zhaiyx.mcp.server.computer.domain.model.ComputerFunctionRequest;
import com.zhaiyx.mcp.server.computer.domain.model.ComputerFunctionResponse;
import com.zhaiyx.mcp.server.computer.domain.service.ComputerService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @ClassName：service
 * @Author: zhaiy
 * @Date: 2025/7/22 21:35
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@Slf4j
@SpringBootTest
public class ComputerServiceTest {

    @Resource
    private ComputerService computerService;

    @Test
    public void test_computerService() {
        ComputerFunctionResponse computerFunctionResponse = computerService.queryComputerConfig(new ComputerFunctionRequest());

        System.out.println(JSON.toJSONString(computerFunctionResponse));
    }
}
